﻿using System;
using System.Collections.Generic;
using System.Web.Mvc;
using CWB.Common.Constant;
using CWB.Common.Logging;
using CWB.Web.DB;
using CWB.Web.Models.Configuration;
using CWB.Web.MVC.BaseController;
using CWB.Web.MVC.Filters;
using CWB.Common.Utilities;
using CWB.WebSite.Models.Agent;
using System.Linq;

namespace CWB.WebSite.Controllers
{
    public class Announcement : MultiCultureBaseController
    {
        private static readonly ISysLog Log = SysLog.GetLogger(typeof(AgentController));

        public Announcement(LanguageInfo languageInfo)
            : base(languageInfo)
        {
            ControllerPermision = Permission.Private;
        }

        [PermissionFilterAttvibute(loginType = LoginType.Agent)]
        public ActionResult Index()
        {
            return View();
        }

    }
}
